<div id="basicInfo" class="basicInfo form" <?php if(!$isExist){ ?> style="display:none" <?php } ?>>
<h3><a href="#"><?php echo lang_basic_info;?></a><a href="#"><?php echo lang_link;?></a><?php /*if($isMy){?><a href="#">标识码</a><?php }*/ ?><a href="#"><?php echo lang_favorites;?></a><?php /*?><a href="#"><?php echo lang_embed;?><?php */?></a><a href="#"><?php echo lang_share;?></a><a href="#"><?php echo lang_rating;?></a><?php if(''!=$show['mediaSource']){?><a href="#"><?php echo lang_download;?></a><?php }?></h3>
<ul>
<?php echo lang_posted_by;?>：<a href="<?php echo urlRewrite('option=home&id='.$userInfo['id'])?>" target="_blank"><?php echo htmlShow($userInfo['nickName']);?></a>
<?php echo lang_time;?>：<span class="time"><?php echo date('Y-m-d H:i',strtotime($show['time'])); ?></span> 
<?php echo lang_avgrating;?>：<span class="star"><?php echo $star -> creatScore((int)$show['star']); ?></span> 
<?php echo lang_comment;?>：<a href="#comments"><?php echo $show['comments'] ?></a> <?php echo lang_times;?> 
<?php /*?><?php echo lang_download;?>：<a href="#comments"><?php echo $show['downTimes'] ?></a> <?php echo lang_times;?> <?php */?>
<div class="tag"><?php echo lang_tag;?>：<?php echo getTag($id);?></div>

</ul>
<ul><?php echo lang_link;?>: <input name="" readonly="readonly" type="text" class="textLong copy" value="<?php echo getScriptName() ;?>" /> </ul>
<?php /* if($isMy){?><ul>标识码: <input type="text" class="textLong copy" value="<?php echo $idCode ;?>" /> </ul><?php }*/ ?>
<ul>
<?php
if( isset($user)){
$favorites = new favorites();
if(!$favorites -> isFavorites($id)){
?>
<a id="addFavorites" href="<?php echo WEB_ROOT_PATH;?>?option=favoritesAction&type=action&do=add&id=<?php echo $idCode;?>" class="submit" target="_blank"><?php echo lang_add_favorites;?></a>
<?php }else{
?>
<input class="submit disabled" value="已经收藏"  />
<?php
}

}else{
?>
请先<a href="<?php echo urlRewrite('option=login')?>" target="_blank"><?php echo lang_login; ?></a><?php echo lang_or; ?><a href="<?php echo urlRewrite('option=reg')?>" target="_blank"><?php echo lang_reg; ?></a>
<?php

}
?>

</ul>
<?php /*?><ul><?php echo lang_embed;?>：<input name="" readonly="readonly" type="text" class="textLong copy" value="<?php echo urlRewrite($_SERVER['QUERY_STRING'] .'&showType=iframe')?>" /></ul><?php */?>
<ul class="share">

<?php /*?><?php echo lang_share;?>: 

<a target="_blank" href="http://share.renren.com/share/buttonshare.do?link=<?php echo urlencode(getScriptName()) ;?>&title=..." class="s_renren" title="转发至人人网"></a>
<a target="_blank" href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=<?php echo getScriptName() ;?>" class="s_qq" title="转发至QQ空间"></a>


<?php */?>
</ul>
<ul>
    <span class="star" id="star">
    <?php 
        /*
        if( $star -> isStar( $id ,$user -> id() )){
            $stars = $star -> getStar($id);
            echo '得分:';
            for($i=1; $i<= 5; $i++){
                $class = $i > $stars ? '' : ' class="a"';
                echo '<i '. $class .'></i>';
            }
        }else{
        */
    ?>
        <?php echo lang_rating;?>: 
        <span><?php
        for($i=1; $i<= MEDIA_STAR ; $i++){
            $class = $i <= $show['star'] ? ' class="a" ' : '';
            echo '<a '.$class.' href="'.WEB_ROOT_PATH.'?option=userDo&type=action&do=star&star='.$i.'&id='.$idCode.'"></a>';
        }
        ?></span>
        <?php if($isISetStar){?><h4 class="oldInfo">你已经打过分.</h4><?php }?>
    <?php //}?>
    </span>
</ul>
<ul>
    <div class="mediaFileList" id="mediaFileList">
    <span class="list"><?php echo lang_source_file.' '.lang_download;?>：
    <?php
/*	$task_ids = $dbs -> select('SELECT distinct `task_id` FROM `'.DB_PRE.'task_attend` WHERE `file_id` = '. $show['id']);
	$allowTaskCreator = array();
	foreach( $task_ids as $tmp ){
		$taskTmp = $dbs -> select('SELECT * FROM `'.DB_PRE.'task` WHERE `id` = '. $tmp['task_id'] .' limit 0,1');
		$allowTaskCreator[] = $taskTmp[0]['user_id'];
	}*/
	$allowTaskCreator = $task -> allowTaskCreator($show['id']);

    if(1){ // isset($user) && $user -> id() > 0
        
		if( null ){ //  $show['passWord'] != ''
            if((  in_array($user -> id() , $allowTaskCreator ) || $user -> id() == $show['user_id'] || $user -> powder() >= 9))// 
				getMediaSourceList($id,'',false,'html');
			else{			
				
			?>
			</span>
			<form action="<?php echo WEB_ROOT_PATH;?>?option=userDo&type=action&do=getMediaSourceList&media_id=<?php echo $idCode;?>" method="post" class="form" id="getMediaSourceList">
			输入下载口令：<input type="text" class="text" id="mediaPassWord" /> <input type="submit" class="submit" value="<?php echo lang_submit;?>" />
			<div class="info list"></div>
			</form>                    
			<?php
			}
		}else
			getMediaSourceList($id,'',false,'html');
    }else{
    ?>
    请先<a href="<?php echo urlRewrite('option=login')?>" target="_blank">登录</a>或<a href="<?php echo urlRewrite('option=reg')?>" target="_blank">注册</a>
    <?php
    }
    ?>                    
    </div><!-- #mediaFileList-->

</ul>
</div><!-- .basicInfo -->
